import request from '@/utils/request'

// 查询医院账单流水列表
export function listBillsRecord(query) {
  return request({
    url: '/bms/billsRecord/list',
    method: 'get',
    params: query
  })
}

// 查询医院账单流水详细
export function getBillsRecord(id) {
  return request({
    url: '/bms/billsRecord/' + id,
    method: 'get'
  })
}

// 新增医院账单流水
export function addBillsRecord(data) {
  return request({
    url: '/bms/billsRecord',
    method: 'post',
    data: data
  })
}

// 修改医院账单流水
export function updateBillsRecord(data) {
  return request({
    url: '/bms/billsRecord',
    method: 'put',
    data: data
  })
}

// 删除医院账单流水
export function delBillsRecord(id) {
  return request({
    url: '/bms/billsRecord/' + id,
    method: 'delete'
  })
}
